#ifndef USUALBUTTON_H
#define USUALBUTTON_H
#include<QPushButton>
#include<QPushButton>
#include<QTextEdit>
#include<QGraphicsDropShadowEffect>

class usualButton : public QPushButton
{
    Q_OBJECT
public:
    explicit usualButton(QWidget *parent=0);//设置其父窗口
    //重写按钮按下和释放事件
    void mousePressEvent(QMouseEvent* e);//重写按下事件，此方法源自于QPushButton的父类QAbstracetButton。
    void mouseReleaseEvent(QMouseEvent* e);//重写按下离开事件,此方法源自于QPushButton的父类QAbstracetButton

signals:

};

#endif // USUALBUTTON_H
